<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/common/HTMLHeader.jsp" %>
<title>${scenic.scenic_name }-发现-永川公交网</title>
<style>
<!--
.left {
	width: 650px;
	float: left;
}
.right {
	width: 300px;
	float: right;
}
.right ul {
	list-style-type: none;
	padding: 0px;
}
.right li {
	margin: 10px;
}
.right a {
	color: #333333;
}
.right a:HOVER {
	color: #5CB85C;
}
a:HOVER {
	text-decoration: none;
}
-->
</style>
</head>
<body>
<div class="container body">
<!-- header-->
<%@ include file="/WEB-INF/page/common/fore/header.jsp" %>
<br/>
<!-- body -->
<!-- left -->
<div class="panel panel-success left">
	<div class="panel-heading" >${scenic.scenic_name }</div>
	<div class="panel-body">
		${scenic.scenic_detailed }
		<div style="text-align: center;"><img width="100%" src="${scenic.scenic_img.filePath }"/></div>
	</div>
	<div class="panel-footer" style="text-align: center;">
	<c:if test="${prev!=null }">
	<a href="scenic_detail?id=${prev.scenic_id }"><span class="label label-success">上一篇：${prev.scenic_name }</span></a>
	</c:if>
	<c:if test="${next!=null }">
	<a href="scenic_detail?id=${next.scenic_id }"><span class="label label-success">下一篇：${next.scenic_name }</span></a>
	</c:if>
	
	</div>
</div>
<!-- /left -->
<!-- right -->
<div class="panel panel-success right">
	<div class="panel-heading">发现更多</div>
	<div class="panel-body">
		<ul>
			<c:forEach items="${paging.records }" var="entity" varStatus="time" >
				<li class="picture"><span class="label label-success" style="display:block;width: 25px;float: left">${time.count}</span> <a href="scenic_detail?id=${entity.scenic_id }">&nbsp;${entity.scenic_name }</a></li>
			</c:forEach>
		</ul>
	</div>
</div>
<!-- /right -->
</div>
<!-- start foorter -->
<%@ include file="/WEB-INF/page/common/fore/footer.jsp" %>
</body>
</html>